@import "bootstrap";
@import "variables";
@import "fonts";
@import "../css/font-awesome.min.css";

/* Basics
----------------------- */
div#user_messages {
  position: absolute;
  width: 500px;
  bottom: 20px;
  left: 40px;
  z-index: 9999;
  -moz-animation: msgDisappear 0s ease-in 5s forwards;
  -webkit-animation: msgDisappear 0s ease-in 5s forwards;
  -o-animation: msgDisappear 0s ease-in 5s forwards;
  animation: msgDisappear 0s ease-in 5s forwards;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@keyframes msgDisappear {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}

@-webkit-keyframes msgDisappear {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;

  }
}

body {
  background: @gray-dark;
  font-family: @font-family-sans-serif;
  font-size: @font-size-base;
  padding-top: 20px;
}

a {
  color: @brand-primary;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: @headings-font-weight;
}

select {
  background: white;
  border: 1px solid @gray-light;
  height: 30px;
  line-height: 30px;
}

code {
  background-color: @gray-lighter;
  color: @gray-dark;
  white-space: pre-wrap;
  /* css-3 */
  white-space: -moz-pre-wrap;
  /* Mozilla, since 1999 */
  white-space: -pre-wrap;
  /* Opera 4-6 */
  white-space: -o-pre-wrap;
  /* Opera 7 */
  word-wrap: break-word;
  /* Internet Explorer 5.5+ */
}

form {
  label {
    margin-right: 2.5em;
  }

  input {
    border: 1px solid @gray-lighter;
    padding: 5px;
  }
}

#left {
    float: left;
    margin: 5px 0 0 10px;
}

#right {
    float: right;
    margin: 5px 10px 0 0;
}

.inline-headers {
    h4 {
        display: inline-block;
        vertical-align: top;
    }

    select {
        display: inline-block;
        vertical-align: top;
    }
}

.faqHeader {
    font-size: 17px;
    margin: 20px;
}

.help-tip {
    position: absolute;
    margin-left: 10px;
    text-align: center;
    background-color: #BCDBEA;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    line-height: 26px;
    cursor: default;

    &:before {
        content: '?';
        font-weight: bold;
        color: #fff;
    }

    &:hover {
        p {
            display: block;
            transform-origin: 100% 0%;
            -webkit-animation: fadeIn 0.3s ease-in-out;
            animation: fadeIn 0.3s ease-in-out;
        }
    }

    p {
        display: none;
        text-align: justify;
        background-color: #1E2021;
        padding: 10px;
        width: 150px;
        max-width: 300px;
        position: absolute;
        border-radius: 10px;
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
        right: -15px;
        color: #FFF;
        font-size: 10px;
        line-height: 1.4;
        z-index: 10000;

        &:before {
            position: absolute;
            content: '';
            width: 0;
            height: 0;
            border: 6px solid transparent;
            border-bottom-color: #1E2021;
            right: 10px;
            top: -12px;
        }

        &:after {
            width: 100%;
            height: 40px;
            content: '';
            position: absolute;
            top: -40px;
            left: 0;
        }
    }
}

.button-tip {
    position: absolute;

    &:hover {
        p {
            display: block;
            transform-origin: 100% 0%;
            -webkit-animation: fadeIn 0.3s ease-in-out;
            animation: fadeIn 0.3s ease-in-out;
        }
    }

    p {
        display: none;
        text-align: justify;
        background-color: #1E2021;
        padding: 10px;
        width: 150px;
        max-width: 300px;
        position: absolute;
        border-radius: 10px;
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
        right: -15px;
        color: #FFF;
        font-size: 10px;
        line-height: 1.4;
        z-index: 10000;

        &:before {
            position: absolute;
            content: '';
            width: 0;
            height: 0;
            border: 6px solid transparent;
            border-bottom-color: #1E2021;
            right: 10px;
            top: -12px;
        }

        &:after {
            width: 100%;
            height: 40px;
            content: '';
            position: absolute;
            top: -40px;
            left: 0;
        }
    }
}

.panel-heading {
    [data-toggle="collapse"] {
        &:after {
            font-family: 'FontAwesome';
            content: "\f078";
            float: right;
            color: #F58723;
            font-size: 18px;
            line-height: 22px;
        }
    }

    [data-toggle="collapse"].collapsed {
        &:after {
            -webkit-transform: rotate(180deg);
            -moz-transform: rotate(180deg);
            -ms-transform: rotate(180deg);
            -o-transform: rotate(180deg);
            transform: rotate(180deg);
            color: #454444;
        }
    }
}

/* CSS animation */

@-webkit-keyframes "fadeIn" {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    100% {
        opacity: 100%;
        transform: scale(1);
    }
}

@keyframes "fadeIn" {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}

/* Layout
----------------------- */
#wrap {
  background: @body-bg;
  padding-bottom: 40px;
  padding-top: 10px;
  width: 100%;
  margin-top: 60px;
}

article.tab-pane {
  padding: 20px 0;
}

.no-style-list {
  list-style-type: none;
  margin-top: 20px;
}

.dl-horizontal dt {
  text-overflow: clip;
  white-space: normal;
  overflow: hidden;
}

.page-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ------ Nav
------------------------------ */
.navbar-inverse {
  background-color: @gray-dark;
  border: 0;

  .nav-container {
    margin: 0 2% 0 2%;
  }

  .navbar-nav > li > a {
    color: white;
    font-weight: 600;
    padding-top: 25px;
    padding-bottom: 25px;

    &:hover {
      background-color: @brand-primary;
    }
  }
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:focus,
.navbar-inverse .navbar-nav > .open > a:hover {
  background-color: @brand-primary;
}

.navbar-nav {
  .dropdown-menu {
    background-color: @brand-primary;
    border-top: 1px solid @brand-primary;

    a {
      color: white;
    }

    li a {
      &:hover {
        background-color: darken(@brand-primary, 10%);
        color: white;
      }
    }

    .divider {
      background-color: darken(@brand-primary, 10%);
    }
  }

  .search {
    left: 15px;
    position: relative;
    color: #444;
    top: 20px;
    margin-right: 25px;

    .fa-search {
      position: absolute;
      top: 8px;
      left: 10px;
    }
  }

  .search input {
    width: 120px;
    height: 32px;
    border: 1px solid @gray-dark;
    border-radius: 5px;
    outline-width: 0;
    text-indent: 32px;
    -webkit-transition: width 0.2s;
    transition: width 0.2s;

    &:focus {
      width: 240px;
    }
  }

  .avatar img {
    border-radius: 50%;
    margin-bottom: -15px;
    margin-right: 10px;
    margin-top: -15px;
    height: 42px;
    width: 42px;
  }

  .fa-angle-down {
    margin-left: 10px;
  }
}

.navbar-brand {
  background: url("../img/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-indent: -9999px;
  height: 65px;
  width: 200px;
}

.navbar-collapse {
  max-height: none;
}

.navbar-header {
  i {
    color: white;
    font-size: 2em;
  }

  button {
    border: 0;
    margin-top: 0.75em;
  }
}

/* ------ Home
------------------------------ */
.home {
  .navbar-inverse {
    background-color: rgba(0, 0, 0, 0.5);
  }

  #wrap {
    margin-top: -60px;
    padding-bottom: 0;
  }

  #site_wide_announcements {
    margin-top: 60px;
  }

  .jumbotron {
    position: relative;
    background: @brand-primary;
    color: white;
    margin-bottom: 0;
    padding: 7.5em 0 3.75em;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);

    a {
      color: @brand-warning;
    }

    p {
      margin-bottom: 0;
    }

    .btn-default {
      background: rgba(0, 0, 0, 0.2);
      border: 2px solid white;
      color: white;
      font-weight: 600;
      margin-top: 1em;
      min-width: 320px;

      &:hover {
        background: rgba(0, 0, 0, 0.4);
      }
    }
  }

  .big-search {
    background: @gray-dark;
    color: white;

    h1,
    p {
      text-align: center;
    }

    padding-bottom: 3em;
    padding-top: 1em;

    a {
      color: @brand-primary;
    }

    .search {
      left: 0;
      position: relative;
      color: #444;
      top: 20px;
      padding-bottom: 2em;
      margin: auto;
      width: 50%;
    }

    .search input {
      width: 100%;
      height: 56px;
      border: 1px solid @gray-dark;
      border-radius: 5px;
      outline-width: 0;
      font-size: 1.5em;
    }

    .search input {
      text-indent: 64px;
    }

    .search .fa-search {
      position: absolute;
      top: 3px;
      left: 15px;
    }

    .btn-default {
      background: transparent;
      border: none;
      color: @brand-warning;

      &:hover {
        text-decoration: underline;
      }
    }
  }

  #datasets {
    /*background: @brand-primary;
		color: white;*/
    padding: 1em 0;

    .container {
      .text-center {
        .row {
          display: flex;
          display: -webkit-flex;
          flex-wrap: wrap;
        }
      }
    }

    p {
      font-size: 12px;
    }

    h4 {
      text-transform: uppercase;
      font-size: 12px;
    }

    a {
      color: @gray-dark;

      &:hover {
        text-decoration: none;
      }

      .category {
        /*background: @brand-primary;
				border-radius: 4px;*/
        margin: 0 -15px;
        padding: 2em 0;

        &:hover {
          color: @brand-primary;
        }
      }

      span {
        font-size: 4em;
      }
    }
  }

  #showcase {
    background: @gray-lighter;
    padding: 2em 0;
    text-align: center;

    .row {
      margin: 0px;
    }

    .col-md-3 {
      padding: 2em 1em;

      img {
        max-height: 180px;
        width: auto;
      }
    }

    p {
      font-size: 18px;
    }
  }
}

/* autocomplete
------------------------*/
.yourlabs-autocomplete {
  top: 100%;
  max-height: 360px;
  overflow: auto;
}

.yourlabs-autocomplete .choice,
.yourlabs-autocomplete [data-value],
.yourlabs-autocomplete em {
  max-width: 800px;
}

.input-group .yourlabs-autocomplete {
  top: 30px !important;
  margin-top: 40px;
}

/* Home
----------------------- */
.jumbotron {
  background: @brand-primary;
  color: white;
  padding: 40px 0 60px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
  margin-top: -10px;

  a {
    color: @brand-warning;
  }

  p {
    margin-bottom: 0;
  }
}

.home-facets {
  text-align: center;
  padding: 2em 0;

  a {
    color: black;

    &:hover {
      color: @link-color;
      text-decoration: none;
    }
  }
}

.partner_logo {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 250px;
}

/* Items
----------------------- */
.actions,
.filter {
  .fa {
    margin-right: 8px;
  }
}

.items-list {
  .btn {
    margin-right: 5px;
    margin-top: 10px;
  }

  .item-info {
    border-top: 1px solid @gray-lighter;
  }

  padding: 10px 0;

  h4 {
    font-weight: 400;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    a {
      color: @text-color;

      &:hover {
        color: @brand-danger;
        text-decoration: none;
      }
    ;
    }
  }

  .owner {
    color: @text-color;
    font-size: 14px;

    a {
      color: @text-color;

      &:hover {
        color: @brand-danger;
        text-decoration: none;
      }
    }
  }

  .thumb {
    img {
      border: 1px solid @gray-lighter;
      width: 100%;
    }
  }

  .abstract {
    color: @gray-light;
    font-weight: 300;
    min-height: 80px;
  }

  .actions {
    color: @gray-light;
    font-weight: 300;

    i {
      margin-right: 0.75em;
    }

    a {
      color: @gray-light;
      margin-right: 0.5em;

      &:hover {
        color: @gray;
        text-decoration: none;
      }
    ;
    }
  }
}

/* Layers
----------------------- */
.item-container {
  padding: 1em;
}

.avatar.pull-left {
  margin-right: 5px;
}

.profile-avatar {
  background: white;
  border: 1px solid @gray-light;
  padding: 0;

  h5 a {
    color: @text-color;
    display: block;
    margin-bottom: -0.5em;
    margin-top: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    &:hover {
      color: @brand-danger;
      text-decoration: none;
    }

    i {
      margin-left: 0.75em;

      &:hover {
        color: @brand-danger;
        text-decoration: none;
      }
    ;
    }
  }

  .list-inline {
    margin: 0.5em 0;
  }
}

.item-thumb {
  padding-left: 0;
  padding-right: 0;

  img {
    width: 100%;
  }
}

.item-details {
  background: white;
  color: @text-color;

  .item-meta {
    margin-top: 1em;

    .item-category {
      font-size: 12px;
      text-transform: uppercase;
    }
  }

  h4 a {
    word-wrap: break-word;
  }

  .btn-sm {
    margin-right: -17px;
    margin-top: -1px;
    padding: 0.5em 1em;
  }

  .item-items {
    border-top: 1px solid @gray-lighter;

    ul {
      margin: 0 0 0 -15px;
      padding: 0.5em;

      i {
        margin-right: 0.5em;
      }
    }
  }
}

.detail-page-actions {
  margin-top: 20px;

  i {
    padding-right: 3px;
  }
}

.layer-actions {
  .detail-page-actions;
}

.edit-modal {
  text-align: center;
}

.arcgis-legend > li {
  text-align: right;
}

.arcgis-legend > li > img {
  padding-right: 25px;
}

.grid-spacer {
  margin-top: 30px;
}

/* Control items
----------------------- */
.controls {
  width: 320px;
}

.controls > div,
.controls > input,
.controls > select,
.controls > textarea {
  width: 320px;
}

/* treeview component */

.treeview .list-group-item {
  cursor: pointer;
  word-break: break-all;
  padding-left: 0px;
  padding-left: 12px;
  display: flex;
}
.treeview .list-group-item .badge{
  margin: auto;
  margin-right: 0;
}

.treeview span.icon {
  margin-right: 5px;
}

.treeview span.node-icon {
  padding-right: 17px;
}

span.icon.node-icon:before {
  font-family: FontAwesome;
  content: "\f07b";
}

/* Maps
----------------------- */
.map-actions {
  .detail-page-actions;
}

/* Documents
----------------------- */
.documents-actions {
  .detail-page-actions;
}

/* Documents
----------------------- */
/* People
----------------------- */
.profile-container {
  padding: 1em;
}

.profile-avatar {
  background: white;
  border: 1px solid @gray-lighter;
  padding: 0;

  h5 a {
    color: @text-color;
    display: block;
    margin-bottom: -0.5em;
    margin-top: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    &:hover {
      color: @brand-danger;
      text-decoration: none;
    }

    i {
      margin-left: 0.75em;

      &:hover {
        color: @brand-danger;
        text-decoration: none;
      }
    ;
    }
  }

  .profile-items {
    border-top: 1px solid @gray-lighter;
    color: @gray;

    i {
      margin-left: 0;
      margin-right: 0.125em;

      a {
        &:hover {
          color: @brand-danger;
          text-decoration: none;
        }
      ;
      }
    }

    .list-inline {
      margin: 0.5em 0;
    }
  }

  li a {
    color: @gray;
    margin-right: 0.5em;

    &:hover {
      color: @brand-danger;
      text-decoration: none;
    }
  ;
  }

  img {
    margin: 0;
    width: 100%;
  }
}

.profile-image {
  padding-left: 0;
  padding-right: 0;

  img {
    width: 100%;
  }
}

.profile-details {
  background: white;
  color: @text-color;

  .group-logo {
    margin: 0.5em;
    padding: 0;

    img {
      width: 60px;
    }
  }
}

nav.filter {
  h4 {
    background: @gray;
    font-size: 14px;
    font-weight: 300;
    padding: 10px 0;
    text-transform: uppercase;
    border-radius: 3px;

    a {
      color: white;
      display: flex;
    }

    a.toggle {
      text-decoration: none;
    }

    i {
      margin-left: 8px;
    }
  }

  .active {
    color: @brand-primary;

    .badge {
      background: @brand-primary;
    }
  }

  .closed {
    display: none;
  }

  li a {
    border-bottom: 1px solid @gray-lighter;
    cursor: pointer;
    padding: 5px 10px;
  }
}

.selections {
  h5 {
    font-weight: 400;
  }

  .thumb {
    float: left;
  }
}

#sort {
  cursor: pointer;

  a {
    color: @gray-light;
  }

  .selected {
    color: @brand-primary;
  }
}

/* Groups
----------------------- */
.group-container {
  padding: 1em;
}

.group-avatar {
  border: 1px solid @gray-lighter;
  padding: 0;

  h5 a {
    color: @text-color;
    display: block;
    margin-bottom: -0.5em;
    margin-top: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    &:hover {
      color: @brand-danger;
      text-decoration: none;
    }

    i {
      margin-left: 0.75em;

      &:hover {
        color: @brand-danger;
        text-decoration: none;
      }
    ;
    }
  }
}

.group-items {
  border-top: 1px solid @gray-lighter;
  color: @gray;

  i {
    margin-left: 0;
    margin-right: 0.125em;

    a {
      &:hover {
        color: @brand-danger;
        text-decoration: none;
      }
    ;
    }
  }

  .list-inline {
    margin: 0.5em 0;
  }
}

.group-image {
  height: 120px;
  overflow: hidden;
}

.group-container {
  .group-logo {
    padding: 1em 0;
    width: 100%;
  }
}

.group-details {
  .group-logo img {
    width: 100%;
  }
}

/* Upload Layers
----------------------- */
#drop-zone {
  background: @gray-lighter;
  margin-bottom: 10px;
  padding: 5px;
  border: 2px dashed @gray-light;

  h3 {
    color: @gray-light;
    margin: 20px 0;
    text-align: center;

    i {
      font-size: 3em;
    }
  }
}

#clear-button,
#upload-button {
  margin-top: 20px;
}

/* overwrite bootstrap styling, save updates */
#id_metadata_uploaded_preserve {
  margin-left: 5px;
}

/* Upload Documents
----------------------- */
#upload_form {
  input[type="text"] {
    display: block;
    margin: 0;
    width: 480px;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    transition: box-shadow 0.3s, border 0.3s;
  }

  input[type="text"]:focus {
    border: solid 1px #707070;
    box-shadow: 0 0 5px 1px #969696;
    outline: none;
  }

  #id_title {
  }

  #id_doc_file {
    padding: 0.5em;
    width: 480px;
  }

  #id_doc_url {
    display: block;
    width: 480px;
  }

  #s2id_resource {
    display: block;
    width: 480px;
  }

  .helptext {
  }
}

@media (max-width: 991px) {
  body {
    padding-top: 70px;
  }

  #upload_form {
    input[type="text"] {
      width: 360px;
    }

    #id_doc_file,
    #id_doc_url,
    #s2id_resource {
      width: 360px;
    }
  }
}

/* Upload Time
----------------------- */
/*#timeForm label {
  display: inline;
  }
.formSection {
  margin-bottom: 1em;
 }
    .right input, .right select {
    }
    .left input {
        line-height: 2em;
    }
    form input, form select {
        font-size: small;
    }
    form label {
        line-height: 2em;
    }
    .clearfix:after {
      content: ".";
      display: block;
      height: 0;
      clear: both;
      visibility: hidden;
    }
    .clearfix {
      display: inline-block;
    }
    * html .clearfix {
      height: 1%;
    } /* Hides from IE-mac \*/
/*.clearfix {
      display: block;
    }
    #format_input input {
        width:8em;
    }
    #timehelp p {
        color: black !important;
    }
    #timehelp code {
        background: @gray-light;
    }*/
/* Footer
----------------------- */
footer {
  color: white;
  padding: 1.5em;

  a {
    color: @brand-warning;

    &:hover {
      color: darken(@brand-warning, 13.5%);
    }
  }

  form {
    color: @text-color;
  }
}

/* Copyright
----------------------- */
.footer-copyright {
  padding: 30px 0;

  .copyright {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
  }

  .copyright small {
    text-transform: uppercase;
    font-size: 14px;
  }
}

/* Etc
----------------------- */
.rotate-45 {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  /*filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);*/
}

.select2-container-multi .select2-choices .select2-search-field input {
  height: auto !important;
}

.tokenfield {
  height: auto !important;
}

.datepicker {
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}

.filter input.datepicker {
  width: 100%;
}

#composerCart {
  .list-group i {
    margin-right: 0;
  }
}

.selections {
  margin-top: 1em;
}

.comment {
  padding-bottom: 11px;
}

.comment-description {
  margin-bottom: 0;
}

.comment-author {
  font-size: 11px;
  font-weight: bold;
  color: #777;
}

/* Activity
   ----------------------------- */
.no-style-list {
  list-style-type: none;
  margin-top: 20px;
}

.activity-item {
  border-bottom: 1px solid @gray-light;
  border-left: 1px solid @gray-light;
  color: @gray-light;
  margin-top: -10px;
  padding: 20px 18px;

  .comment {
    content: "\f086";
  }

  .comment:before {
    content: "\f086";
  }

  .delete {
    content: "\f014";
  }

  .delete:before {
    content: "\f014";
  }

  .edit {
    content: "\f14b";
  }

  .edit:before {
    content: "\f14b";
  }

  .layer {
    content: "\f096";
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    /*filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);*/
  }

  .layer:before {
    content: "\f096";
  }

  .map {
    content: "\f041";
  }

  .map:before {
    content: "\f041";
  }

  .upload {
    content: "\f093";
  }

  .upload:before {
    content: "\f093";
  }
}

.icon-activity {
  background: @gray-light;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  border: 2px solid white;
  color: white;
  float: left;
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 1.30em;
  font-style: normal;
  height: 35px;
  line-height: 1.25em;
  margin: 0 10px 10px -35px;
  padding: 4px;
  text-align: center;
  text-decoration: inherit;
  width: 35px;
}

.thumb-activity {
  clear: both;
  height: 60px;

  img {
    border: 1px solid @gray;
    float: left;
    margin-right: 5px;
    width: 60px;
  }
}

.activity {
  content: "\f045";
}

.activity:before {
  content: "\f045";
}

.activity-timestamp {
  margin-top: -10px;
}

#permission_form .select2-container {
  width: 250px;
}

/* Sign In Modal
----------------------- */
.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}

.form-signin .checkbox,
.form-signin .form-signin-heading {
  margin-bottom: 10px;
}

.form-signin .checkbox {
  font-weight: normal;
}

.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  font-size: 1em;
}

.form-signin .form-control:focus {
  z-index: 2;
}

.form-signin input[type="username"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.modal-body .list-unstyled a {
  color: @text-color;
  font-size: 1.14285714em;
  line-height: 2em;

  i {
    margin-right: 8px;
  }

  &:hover {
    color: @brand-primary;
    text-decoration: none;
  }
;
}

.modal-divider {
  padding-top: 1px;
  margin: 5px 1px 6px;
  border-bottom: 1px solid #e1e8ed;
}

.list-group {
  i {
    margin-right: 8px;
  }
}

/* Media Queries
   ----------------------------- */
@media (max-width: 991px) {
  .navbar-header {
    float: none;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-nav {
    float: none !important;
    margin: 7.5px -15px;
  }

  .navbar-nav > li {
    float: none;
  }

  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* since 3.1.0 */
  .navbar-collapse.collapse.in {
    display: block !important;
  }

  .collapsing {
    overflow: hidden !important;
  }

  .home .navbar-inverse {
    background-color: @gray-dark;
  }

  .navbar-inverse {
    .navbar-nav > li > a {
      padding-bottom: 0.75em;
      padding-top: 0.75em;
    }

    .navbar-nav .search {
      padding-bottom: 0.75em;
      top: 0;

      input {
        width: 100%;
      }
    }
  }
}

#member_form_container .select2-container {
  padding: 0;
}

.table-user-profile-attribute {
  font-weight: bold;
}

/* Download Layer Filtering Modal
----------------------- */
// fix ISSUE 5667
#download_tab1 li.active {
    list-style-type: none;
}

.gear {
  -webkit-animation: rotation 6s infinite linear;
  -moz-animation: rotation 6s infinite linear;
  -o-animation: rotation 6s infinite linear;
  animation: rotation 6s infinite linear;
}

@-webkit-keyframes "rotation" {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(359deg);
  }
}

@-moz-keyframes "rotation" {
  from {
    -moz-transform: rotate(0deg);
  }

  to {
    -moz-transform: rotate(359deg);
  }
}

@-o-keyframes "rotation" {
  from {
    -o-transform: rotate(0deg);
  }

  to {
    -o-transform: rotate(359deg);
  }
}

@keyframes "rotation" {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

form-inline {
  display: inline-table;
  vertical-align: middle;
  width: auto;
}

.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: inherit;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  white-space: nowrap;
  padding: 4px 8px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.text_area {
  visibility: hidden;
}

.dropdown-menu-attribute {
  height: auto;
  max-height: 200px;
  overflow-x: hidden;
}

.dropdown-menu-operator {
  height: auto;
  max-height: 200px;
  overflow-x: hidden;
}

.dropdown-menu-and-or {
  height: auto;
  max-height: 200px;
  overflow-x: hidden;
}

#wrong-data-type {
  color: @red-dark;
  font-style: italic;
}

#hr_filter_layer {
  width: 100%;
  color: @gray46;
  height: 1px;
}

#missing-values {
  color: @red-dark;
  font-style: italic;
}

/** Metadata select2 styles */
.has-error {
  color: #a94442 !important;
}

.has-error .select2-selection {
  border-color: #a94442 !important;
}

/** Autocomplete styling **/
.autocomplete-input #text_search_input, .autocomplete-input #region_search_input {
  width: 100%;
}

.autocomplete-input .ac-results {
  position: absolute;
  border: 1px solid #eeeeee;
  border-top: none;
  border-radius: 5px;
  outline-width: 0;
  text-indent: 5px;
  margin-top: 0px;
  z-index: 10000;
}

.autocomplete-input .ac-results .result-wrapper {
  border-bottom: 1px solid #eeeeee;
  padding: 3px;
  background-color: white;
}

.autocomplete-input .ac-results .result-wrapper:hover {
  background-color: #eeeeee;
  opacity: 1;
}

.autocomplete-input .ac-results .result-wrapper:last-child {
  border-bottom: none;
}

.autocomplete-input .ac-results .result-wrapper .ac-result {
  border: none;
  text-decoration: none;
  color: black;
  padding: 0px;
}

/** Autocomplete for thesaurus field in advanced metadata edit views
  There should be a better way to do this!
**/
#metadata_update .select2-container {
  width: 100% !important;
  min-width: 0 !important;
}

#metadata_update .select2-selection {
  min-height: 42px !important;
  height: auto !important;
}

#metadata_update .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 8px !important;
}

#metadata_update .form-controls {
  padding-right: 0px !important;
  padding-left: 0px !important;
}

#metadata_update .form-group {
  margin-right: 0px;
  margin-left: 0px;
}

.inbox-checkbox {

  label {
    cursor: pointer;
    position: relative;
    left: 30%;
  }

  label::before {
    display: inline-block;
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    border: 1px solid;
    border-color: @gray-light;
  }

  label::after {
    position: absolute;
    content: "";
    display: inline-block;
    height: 6px;
    width: 9px;
    top: 4px;
    left: 4px;
    border-left: 2px solid;
    border-bottom: 2px solid;
    border-color: @gray-light;

    transform: rotate(-45deg);
  }

  label::after {
    content: none;
  }

  input[type="checkbox"] {
    opacity: 0;
    display: none;
  }

  input[type="checkbox"]:checked + label::after {
    content: "";
  }

}

.inbox-icons {

  button {
    background: none;
    border: none;
    color: white; /* White text */

    cursor: pointer;
  }

  margin: 5px 0px 5px 15px;
  color: #636363;

  i {
    cursor: pointer;
    margin-right: 10px;
  }
}

.create-msg-form-control {
  width: 100%;
  color: #555555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.home .geonode-slide-show .jumbotron {
	padding: 0;
	&:after {
		background-image: none;
	}
	.container {
		max-width: 100%;
		width: 100%;
		padding: 0;
    margin: 0;
    img {
      width: 100%; height: 30em;
      object-fit: cover;
    }
    .carousel-control span {
      color: #000;
    }
		.carousel-header {
			padding-left: 1.25em;
		}
		.carousel-caption h1,
		h2,
		h3,
		h4,
		h5,
		h6 {
			font-weight: 700;
		}
		.carousel-caption p {
			font-size: 1.3125em;
			font-weight: 200;
		}
		.carousel-caption {
			background: rgba(0, 0, 0, 0.4);
      text-align: left;
      padding-bottom: 3em;
			left: 0;
			right: 0;
      padding-left:  1.875em;
      bottom: 0;
		}
		@media screen and (min-width: 768px) {
			.carousel-header {
				position: absolute;
				top: 0;
				left: 0.625em;
				z-index: 1;
			}
		}
	}
}
.iso-categories .row {
  justify-content: center;
  .col-lg-1 {
    margin-right: 1%;
    .category h4 {
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  span {
    font-size: 0.7em !important;
    position: absolute;
    margin-top: 38%;
    margin-left: 35%;
    background-color: #2d689c;
    }
    a:hover span{
      background-color: black;
    }
}
.jumbotron .gn-container {
    margin-top: -2px;
}

.map-layers {
  display: flex;
  word-break: break-all;
}
.map-layers i {
  padding: 7px 0px;
  font-size: small;
}
.map-legend {
  font-size: 10px;
  margin: 2px 15px;
}
